package com.zwzh.ribbon.controller;

import com.zwzh.ribbon.service.RibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: zhoujie
 * @date: 2019-05-15 16:01
 */
@RestController
public class HelloController {
    @Autowired
    RibbonService ribbonService;

    @RequestMapping(value="/hello")
    public String sayHello() {
        return ribbonService.helloService();
    }
}
